package zhongbo.java.air.monitor.service;

import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.monitor.model.AirAlertLog;
import zhongbo.java.air.monitor.model.FlightActivityDaily;

import java.util.Date;
import java.util.List;

public interface IAirAlertLogService {
    int addAirAlertLog(AirAlertLog airAlertLog);

    void deleteAirAlertLog(String id);

    int updateAirAlertLog(AirAlertLog airAlertLog);

    AirAlertLog selectById(String id);

    PageVo page(String status, Integer pageNumber, Integer pageSize);

    boolean hasRecentAlert(String icaoCode, Date triggerTime);

    List<AirAlertLog> findRecentAlerts(String icaoCode, Date startTime, Date endTime);
}
